
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=EDGE">
        <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no">
        <meta name="MobileOptimized" content="320">
        <meta http-equiv="cleartype" content="on">
        <meta name="robots" content="noindex,nofollow">
        <title></title>

        <link rel="stylesheet" href="__PUBLIC__assets/kf/css/kf_list.css">
        <link rel="stylesheet" href="__PUBLIC__assets/kf/css/public.css">
        <link rel="stylesheet" href="__PUBLIC__assets/kf/libs/layui/css/layui.css">
    </head>
    <body style="background: #fff;">

        <div class="container_s">
            <div class="left">
                <div class="top" id="people-top">
                    <!--<input type="text" placeholder="请输入昵称"/>-->
                    <span>在线列表(默认显示7天内的访客)</span>
                </div>
                <ul class="people" id="people-people">

                    <?php
                    if(!empty($list)){
                    foreach($list as $k=>$v){

                    ?>
                    <a href="<?=$url?>/<?=$v['uuid']?>/<?=$token?>"><li class="person">
                            <img class="head-img <?=$v['status']?>" src="<?=$v['head_img']?>" alt="">
                            <span class="name"><?=$v['nick_name']?></span>
                            <span class="time"><?=$v['msg']['time']?></span>
                            <span class="preview">回复：<?php echo $v['msg']['content'];?></span>
                            <?php
                            if(!empty($v['unread'])){
                            ?>
                            <div class="tip"><?=$v['unread']?></div>
                            <?php
                            } else {
                            ?>
                            <div class="tip" style="display: none;"></div>
                            <?php
                            }
                            ?>

                        </li></a>
                    <?php
                    }

                    }
                    ?>
                </ul>
            </div>
        </div>

    </body>

</html>


